package com.charon.auth.base;

import com.charon.auth.enumeration.LoginType;

import java.io.Serializable;

/**
  *@ClassName: BaseSecurityProperties
  *@Description: 安全认证基本配置。
  *@Author: Charon [248135724@qq.com]
  *@Date: 2019/1/17 0017 20:00
  *@Version: 1.0
  */
public abstract class BaseSecurityProperties implements Serializable {

    /**
     * 默认登录页面
     */
    public String loginPage="/charon-login.html";

    /**
     * 默认登录返回类型
     */
    public LoginType loginType=LoginType.JSON;


    public String getLoginPage(){
        return loginPage;
    }

    public void setLoginPage(String loginPage){
        this.loginPage=loginPage;
    }

    public LoginType getLoginType() {
        return loginType;
    }

    public void setLoginType(LoginType loginType) {
        this.loginType = loginType;
    }
}
